import dva from 'dva';
import './index.css';
// history 插件用来更改 路由访问模式 [hash / history]
import { createHashHistory as createHash } from 'history';
// 1. Initialize
const app = dva({
  history: createHash()
});

// 2. Plugins
// app.use({});

// 3. Model
// app.model(require('./models/example').default);

// 4. Router
app.router(require('./router').default);

// 5. Start
app.start('#root');
